package com.gome.wechat.program.dao;

import com.gome.wechat.program.entity.User;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * Created by liwei113 on 2017/10/20 0020.
 */
public interface UserRepo  extends JpaRepository<User, Long> {

    User findByOpenId(String openId);

    List<User>  findByIdIn(List<Long> ids);
}
